<template>
     <div class="audio_con">
        <audio :src="musicUrl" @play="play" @pause="pause" controls autoplay loop class="myaudio"></audio>
    </div>
</template>

<script>


 export default {
   data () {
     return {

     }
   },
   props: {
     musicUrl:"",
   },
   components: {

   },
   methods: {
     play() {
       this.$emit("isPlayingBind", true)
     }, 
     pause() {
       this.$emit("isPlayingBind", false)
     }
   }
 }
</script>

<style>

 
</style>
